<!DOCTYPE html>
<html lang="en">
 <include file="Public/header"/>
 <title>Realm - goods</title>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="__PUBLIC__/Admin/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
            <ul class="pull-left">
              <li><a id="messages" data-notification="2" href="#"><i class="icon-envelope"></i> Messages</a></li>
              <li><a id="notifications" data-notification="3" href="#"><i class="icon-globe"></i> Notifications</a></li>
            </ul>
            <ul class="pull-right">  
              <li><a href="{:U('User/exitLog')}"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="login.html"><i class="icon-off"></i></a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <include file="Public/menu"/>

      <!-- Main window -->
      <div class="main_container" id="users_page">

       <!-- /row-fluid -->

        <div class="row-fluid">
          <div class="widget widget-padding span12">
            <div class="widget-header">
              <i class="icon-group"></i>
              <h5>Goods</h5>
              <div class="widget-buttons">
                  <a href="#" data-title="Add User" data-toggle="modal" data-target="#example_modal"><i class="icon-plus"></i></a>
                  <a href="#" data-title="Collapse" data-collapsed="false" class="collapse"><i class="icon-chevron-up"></i></a>
              </div>
            </div>  
            <div class="widget-body">
              <table id="users" class="table table-striped table-bordered dataTable">
                <thead>
                 <tr>
                                <th>序号</th>
                                <th>二维码</th>
                             
                                <th>用户名</th>
                                
                                <th>出生日期</th>
                                <th>邮箱</th>
                                <th>喜爱的手机品牌</th>
                                <th>现使用的手机品牌</th>
                                
                              
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                       <volist name="goods" id="vo">
                            <tr>
                            <td>{$key+1}</td>
                            
                             <td><img src="__PUBLIC__/Admin/Uploads/qrcode/{$vo.qrpath}" width="80" alt="头像" title="{$vo.uname}"></td>
                            
                             <td>{$vo.uname}</td>
                             
                             
                             <td>{$vo.birthdate}</td>
                             <td>{$vo.email}</td>
                             <td>{$vo.love}</td>
                             <td>{$vo.use}</td>
                            
                                
                            

                            <!-- <td>
                                 <switch name="vo.isfirst">
                                 <case value="1">已禁用</case>
                                 <default />正常状态
                                 </switch>
                             </td> -->
                              
                              <!--   <td>
                                  <if condition="$vo.isfirst eq '0'">未置顶
                                  <else/>已置顶
                                  </if>
                              </td> -->
    
                               
                        <td><!-- <a href="__URL__/editgoods/id/{$vo.id}">查看详细内容</a> | -->
                        
                        <a href="__URL__/delgoods/id/{$vo.id}" onclick="return confirm('你确定要删除吗？')"><i class="icon-trash"></i>删除</a>
                        </td>

                        </tr>
                        </volist>
                            </tbody>
                        </table>
                    </div> <!-- /widget-body -->
                </div> <!-- /widget -->
            </div> <!-- /row-fluid -->

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
<include file="Public/footer"/>
</body>
</html>